$(document).ready(function() {
  
  
  
});

var currentOpenedMenu = -1;
function openSubMenu(index) {
  var ua = navigator.userAgent.toLowerCase();
  var isAndroid = ua.indexOf("android") > -1;
  alert(324  + isAndroid)
  if (document.documentElement.clientWidth > 1000 || isAndroid) {
	  
    return;
  }
  $('.subMenuWrapper').slideUp();
  if (currentOpenedMenu != index) {
    currentOpenedMenu = index;
    $('#subMenu' + index).slideDown();
  } else {
    currentOpenedMenu = -1;
  }
}